package br.com.iswe.gwt.manter.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public abstract class FilterCallback implements AsyncCallback {

	private AsyncCallback delegate;
	
	public FilterCallback(){
		
	}
	
	public void onFailure(Throwable caught) {
		delegate.onFailure(caught);
	}

	public void onSuccess(Object result) {
		delegate.onSuccess(result);
	}

	public AsyncCallback getDelegate() {
		return delegate;
	}
	public void setDelegate(AsyncCallback delegate) {
		this.delegate = delegate;
	}
}
